home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
patches
/
ds3upd1.lha
/
DSPatch
< prev
next >
Wrap
AmigaDOS Script File
|
1994-12-13
|
2KB
|
69 lines
.key dsdir
if "<dsdir>" EQ ""
echo "Usage: DSPatch [Path to DiskSalv3]"
echo " where 'Path to DiskSalv3' is the path of the"
echo " directory containing DiskSalv 3"
quit
endif
if not exists <dsdir>/DiskSalv
echo "Can't Find <dsdir>/DiskSalv!"
quit
endif
version >nil: <dsdir>/DiskSalv VERSION 12 REVISION 15
if NOT WARN
echo "DiskSalv upgrade patch already applied"
quit
endif
version >nil: <dsdir>/DiskSalv VERSION 12 REVISION 14
if NOT WARN
echo "DiskSalv upgrade patch already applied"
quit
endif
version >nil: <dsdir>/DiskSalv VERSION 12 REVISION 13
if NOT WARN
if NOT EXISTS DS13to15.patch
echo "Patch file DS13to15.patch must be in the current directory"
quit
endif
echo "Patching DiskSalv V12.13 to V12.15..."
echo " (old version will be called DiskSalv1213)"
rename <dsdir>/DiskSalv <dsdir>/DiskSalv1213
spatch -o<dsdir>/DiskSalv -pDS13to15.patch <dsdir>/DiskSalv1213
echo "Patch applied"
quit
endif
version >nil: <dsdir>/DiskSalv VERSION 12 REVISION 12
if NOT WARN
if NOT EXISTS DS12to15.patch
echo "Patch file DS12to15.patch must be in the current directory"
quit
endif
echo "Patching DiskSalv V12.12 to V12.15..."
echo " (old version will be called DiskSalv1212)"
rename <dsdir>/DiskSalv <dsdir>/DiskSalv1212
spatch -o<dsdir>/DiskSalv -pDS12to15.patch <dsdir>/DiskSalv1212
echo "Patch applied"
quit
endif
version >nil: <dsdir>/DiskSalv VERSION 12 REVISION 10
if NOT WARN
if NOT EXISTS DS10to14.patch
echo "Patch file DS10to14.patch must be in the current directory"
quit
endif
echo "Patching DiskSalv V12.10 to V12.14..."
echo " (old version will be called DiskSalv1210)"
rename <dsdir>/DiskSalv <dsdir>/DiskSalv1210
spatch -o<dsdir>/DiskSalv -pDS10to14.patch <dsdir>/DiskSalv1210
echo "Patch applied"
quit
endif
echo "DiskSalv upgrade patch not supplied for this version"
version <dsdir>/DiskSalv